package net;
import java.net.Socket;

public class GameClient implements Runnable{
	Socket client;
	public Thread clientThread;
	public static String ip;
	
	public GameClient(String _ip){
		ip = _ip;
		clientThread = new Thread(this);
		clientThread.start();
	}

	public void run(){
		while(Thread.currentThread().equals(clientThread)){
			if(client == null){
				try {
					client = new Socket(ip, 9999);
				} catch (Exception e) {
					e.printStackTrace();
				}
			} else {
				
			}
		}
	}
}
